package shoppingmall.reception.dto;

import java.util.List;

/**
 * 与前端交互参数对象，批量修改用户购物车的选中状态selected:true|false
 * List<Integer> cartIds  购物车主键id数组集合
 * state  购物车选中状态，布尔值 true | false
 */
public class CartUpdateVO {
    private List<Integer> cartIds;
    private boolean cartState;

    public CartUpdateVO() {
    }

    public CartUpdateVO(List<Integer> cartIds, boolean cartState) {
        this.cartIds = cartIds;
        this.cartState = cartState;
    }

    public List<Integer> getCartIds() {
        return cartIds;
    }

    public void setCartIds(List<Integer> cartIds) {
        this.cartIds = cartIds;
    }

    public boolean getCartState() {
        return cartState;
    }

    public void setCartState(boolean cartState) {
        this.cartState = cartState;
    }
}
